Average sentence length |
---|
21.6538 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.4300 |
4 | 0.9200 |
5 | 1.1600 |
6 | 1.5900 |
7 | 1.7300 |
8 | 1.9800 |
9 | 2.5600 |
10 | 2.4400 |
11 | 2.8200 |
12 | 2.9300 |
13 | 3.4600 |
14 | 2.9200 |
15 | 3.4700 |
16 | 3.7000 |
17 | 3.5500 |
18 | 3.6100 |
19 | 4.1600 |
20 | 3.8600 |
21 | 3.7100 |
22 | 3.9300 |
23 | 3.6200 |
24 | 3.7300 |
25 | 3.2900 |
26 | 3.2200 |
27 | 3.3500 |
28 | 2.7800 |
29 | 2.7400 |
30 | 2.7700 |
31 | 2.5300 |
32 | 2.5500 |
33 | 2.3800 |
34 | 1.8700 |
35 | 2.1700 |
36 | 1.7200 |
37 | 1.4600 |
38 | 1.2000 |
39 | 0.9500 |
40 | 0.8500 |
41 | 0.6300 |
42 | 0.4100 |
43 | 0.3500 |
44 | 0.2400 |
45 | 0.1100 |
46 | 0.0800 |
47 | 0.0500 |
50 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters